package com.cskaoyan.mall.dao;

import com.cskaoyan.mall.model.po.Admin;
import com.cskaoyan.mall.model.bo.admin.AdminLoginBo;

import java.util.List;

/**
 * @ClassName: AdminMapper
 * @Description: TODO
 * @Auther 庄左
 * @Date 2022/6/28 18:47
 * @Version
 **/
public interface AdminMapper {
    //登录
    Admin selectOne(Admin admin);
    //查看
    List<AdminLoginBo> selectByName(Admin admin);
    //增加
    void addsAdmins(Admin Admin);
    //删除
    void deleteAdmins(Integer id);

    Admin selectById(Integer id);
    void updateAdmins(Admin admin);

    //改密
    void changePwd(Admin admin);

}
